﻿/* 
 * Since 2008 - 2012
 */

package com.hh.bss.customer.dao;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.customer.dao.*;
import com.hh.bss.customer.entity.*;
import com.hh.bss.customer.service.*;
import com.hh.bss.customer.vo.query.*;
import com.hh.bss.util.*;




import java.io.Serializable;

import static com.hh.bss.util.ObjectUtils.*;

import org.springframework.stereotype.Repository;

public interface CompanyDao <E,PK extends Serializable> extends EntityDao<E,PK>{		
	public Page findPage(CompanyQuery query);
	public List findcv(Integer id);	
	public void importCompanyFromExcel(String path);
	public Page findDelPage(CompanyQuery companyQuery);
	public Page findSimplePage(CompanyQuery query);
	//public void batchUpdate(Company company);
	public void companyMerger(String id, String ids);
	public Page findCompanyMergePage(CompanyQuery companyQuery);
	public Page findSameOfDelCvPage(CompanyQuery companyQuery);
	public boolean checkCompanyIntegrity(Integer companyid);
	public void recoverCompany(String ids);
}
